package com.smile.service;

import com.smile.commons.Result;
import com.smile.model.dto.request.*;
import org.eclipse.paho.client.mqttv3.MqttException;

public interface AirlineService {
    Result executeAirlineTask(ExecuteAirlineTaskRequestDTO executeAirlineTaskRequestDTO) throws Exception;

    void inFlightWaylineDeliver(InFlightWaylineDeliverRequestDTO inFlightWaylineDeliverRequestDTO) throws MqttException;


    void flighttaskPause(FlighttaskPauseRequestDTO flighttaskPauseRequestDTO) throws MqttException;

    void flighttaskRecovery(FlighttaskPauseRequestDTO flighttaskPauseRequestDTO) throws MqttException;

    void inFlightWaylineStop(InFlightWaylineStopRequestDTO inFlightWaylineStopRequestDTO) throws MqttException;

    void inFlightWaylineRecover(InFlightWaylineRecoverRequestDTO inFlightWaylineRecoverRequestDTO) throws MqttException;

    void inFlightWaylineCancel(InFlightWaylineDeliverRequestDTO inFlightWaylineDeliverRequestDTO) throws MqttException;

    void flyToPointStop(FlyToPointStopRequestDTO flyToPointStopRequestDTO) throws MqttException;
}
